projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf2e997
)
* lisp/cus-start.el (exec-path): Set standard value, to avoid rogue.
author
Glenn Morris
<rgm@gnu.org>
Mon, 20 Apr 2015 21:40:32 +0000
(17:40 -0400)
committer
Glenn Morris
<rgm@gnu.org>
Mon, 20 Apr 2015 21:40:32 +0000
(17:40 -0400)
lisp/cus-start.el
patch
|
blob
|
history
diff --git
a/lisp/cus-start.el
b/lisp/cus-start.el
index 29ef371669cd39ec8958d0ad89b417ae6aa9190b..071aaa6850f4a307ede6c7aac551e901e91fa46a 100644
(file)
--- a/
lisp/cus-start.el
+++ b/
lisp/cus-start.el
@@
-169,7
+169,12
@@
Leaving \"Default\" unchecked is equivalent with specifying a default of
(shell-file-name execute file)
(exec-path execute
(repeat (choice (const :tag "default directory" nil)
- (directory :format "%v"))))
+ (directory :format "%v")))
+ nil
+ :standard
+ (mapcar 'directory-file-name
+ (append (parse-colon-path (getenv "PATH"))
+ (list exec-directory))))
(exec-suffixes execute (repeat string))
;; charset.c
(charset-map-path installation